import Layout from '@/pages/public/layout' // 公共部分

const ticket = [{
  path: '/market/ticket',
  component: Layout,
  redirect: '/market/ticket/list',
  children: [{
    path: 'list',
    component: () => import('@/pages/market/ticket/index.vue'),
    meta: {
      title: '活动券',
      permission: 'market.ticket.list'
    }
  }, {
    path: ':id/manage',
    component: () => import('@/pages/market/ticket/manage/index.vue'),
    meta: {
      title: '活动详情',
      permission: 'market.ticket.details'
    }
  }]
}]

export default ticket
